﻿{include file="Public/public" /}
<body>
 <div class="wrap">
  <div class="page-title">
    <span class="modular fl"><i class="edit_user"></i><em>编辑会员资料</em></span>
  </div>
  <form action="/adminmember/update"  method="post">
  <table class="list-style">
 
   <tr>
    <td style="width:15%;text-align:right;">会员真实姓名：</td>
    <td><input type="text" class="textBox length-middle" name="rname" value="{$userinfo['rname']}"/></td>
   </tr>
   <tr>
    <td style="text-align:right;">年龄：</td>
    <td>
     <input type="text" class="textBox length-short" name="age" value="{$userinfo['age']}"/>
    </td>
   </tr>
   <tr>
    <td style="text-align:right;">性别：</td>
    <td>
     <input type="radio" name="sex" value="1" id="yes" {if condition="$userinfo['sex']==1"}checked{/if} />
     <label for="yes">男</label>
     <input type="radio" name="sex" value="2" id="no" {if condition="$userinfo['sex']==2"}checked{/if}/>
     <label for="no">女</label>
     <input type="radio" name="sex" value="0" id="no" {if condition="$userinfo['sex']==0"}checked{/if}/>
     <label for="no">保密</label>
    </td>
   </tr>
   <tr>
    <td style="width:15%;text-align:right;">会员头像：</td>
   <td>
     {if condition="$userinfo['photo']"}<img src="/uploads/{$userinfo['photo']}"  width="60" height="60" class="mlr5"/>
     {else /}
     <img src="/uploads/moren/timg.jpg"  width="60"  height="60" class="mlr5"/>
     {/if}
    </td>
  </tr>
   <tr>
    <td style="text-align:right;">电子邮件：</td>
    <td><input type="text" class="textBox length-middle" name="email" value="{$userinfo['email']}"/></td>
   </tr>
   <tr>
    <td style="text-align:right;">手机号码：</td>
    <td><input type="text" class="textBox length-middle" name="phone" value="{$userinfo['phone']}"/></td>
   </tr>
   <tr>
    <td style="text-align:right;">可用星钻：</td>
    <td>
     <input type="text" class="textBox length-short" value="5000000" disabled="disabled"/>
     <span>元</span>
    </td>
   </tr>
   <tr>
    <td style="text-align:right;">冻结星钻：</td>
    <td>
     <input type="text" class="textBox length-short" value="300" disabled="disabled"/>
     <span>元</span>
    </td>
   </tr>
   <tr>
    <td style="text-align:right;">会员等级：</td>
    <td>
     <select class="textBox">
      <option>请选择会员等级</option>
      <option>白金会员</option>
      <option>黄金会员</option>
     </select>
    </td>
   </tr>
   <tr>
    <td style="text-align:right;">重置密码：</td>
    <td><input type="password" class="textBox length-middle" name="password" value="" placeholder="不修改请留空"/></td>
   </tr>
   <tr>
    <td style="text-align:right;">确认密码：</td>
    <td><input type="password" class="textBox length-middle" name="repassword" value="" placeholder="不修改请留空"/></td>
   </tr>
   <tr>
    <td style="text-align:right;"></td>
    <input type="hidden" name="id" value="{$userinfo['id']}">
    <td><input type="submit" class="tdBtn" value="更新保存"/></td>
   </tr>
  </table>
</form>
 </div>
</body>
</html>